export function dateFormat(date, day) {
  let sourceData = new Date(date);
  let newData = new Date(sourceData);
  newData.setDate(sourceData.getDate() + day);
  let Year = 0;
  let Month = 0;
  let Day = 0;
  let CurrentDate = "";
  Year = newData.getFullYear();//ie火狐下都可以
  Month = newData.getMonth() + 1;
  Day = newData.getDate();
  CurrentDate += Year + "/";
  if (Month >= 10) {
    CurrentDate += Month + "/";
  } else {
    CurrentDate += "0" + Month + "/";
  }
  if (Day >= 10) {
    CurrentDate += Day;
  } else {
    CurrentDate += "0" + Day;
  }
  return CurrentDate;

}
